package com.jihu.design.behavioral.interpreter;

/**
 * @author jihu
 * @date 2021/10/9
 */
public class MainTest {

    public static void main(String[] args) {

        Area area = new Area();


//        String expression = "武汉市:李世光-老师";
//        area.getTicket(expression);

//        String expression = "北京市:李世光-老师";
//        area.getTicket(expression);

        String expression = "北京市:李世光-医生";
        area.getTicket(expression);

    }
}
